import Layout from '@/layout'

export default {
  path: '/approvals',
  component: Layout,
  // 如果嵌套路由中有 path为空
  // 当我们访问父级路由时，会默认展示该规则对应的组件
  // 可以理解为:是当前嵌套路由的默认路由

  children: [{
    path: '',
    name: 'approvals',
    component: () => import('@/views/approvals/index'),
    meta: { title: '审批', icon: 'tree-table' }
  }]
}
